package com.thd.springboot.framework.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;
@Data
public class TreeNode {
    @ApiModelProperty("显示文本")
    private String label;
    @ApiModelProperty("节点id")
    private String value;
    @ApiModelProperty("描述")
    private String description;
    @ApiModelProperty("父节点id")
    private String parentId;
    @ApiModelProperty("子节点")
    private List<TreeNode> children = new ArrayList<TreeNode>();
}
